﻿using System;

namespace Fuse8.DomainFramework.Common.Logging
{
    /// <summary>
    /// 
    /// </summary>
    public interface ILogging
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="category"></param>
        /// <param name="message"></param>
        void Log(string category, string message);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="message"></param>
        /// <param name="ex"></param>
        /// <returns></returns>
        string LogError(string message, Exception ex);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="message"></param>
        /// <param name="errorDetails"></param>
        /// <returns></returns>
        string LogError(string message, string errorDetails);
    }
}
